package com.zr.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.zr.dao.BaseDao;
import com.zr.model.Way;
import com.zr.service.DeleteLinesService;
@Service("deleteline")
public class DeleteLineServiceImpl implements DeleteLinesService{
	
	@Resource
	private BaseDao baseDao;
	
	@Override
	public void deleteline(int[] lid) {
		for (int i : lid) {
		Way w =	(Way) baseDao.get(Way.class, Integer.valueOf(i));
		baseDao.delete(w);;	
		}
	}

}
